Skip to main content
GET
/
tariff-properties
/
{id}
/
[beta] Get detailed information on a tariff property
curl --request GET \
  --url https://sandbox.prezio.eu/api/tariff-properties/{id}/ \
  --header 'Authorization: <api-key>'
{
  "id": "pro_7",
  "key": "fuse_level",
  "name": "Fuse level",
  "data_type": "CHOICE",
  "group_key": "consumer_setup",
  "group_name": "Consumer setup",
  "question": "What is your fuse level?",
  "description": "",
  "choices": [
    {
      "id": "prv_67",
      "name": "10 kW",
      "value": "10_kw"
    },
    {
      "id": "prv_16",
      "name": "100 A",
      "value": "100"
    }
  ]
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
string
required

Property ID (incl. prefix "pro_") or property key (e.g. "fuse_level")

Query Parameters

consumer_type
enum<string>

Consumer type (RESIDENTIAL or BUSINESS) to filter local variants applicable to that consumer type

Available options:
BUSINESS,
RESIDENTIAL
country
enum<string>
required

Country code to filter local variants by country + global variants

Available options:
AT,
DK,
FR,
NO,
SE
tariff_id
string

Tariff ID (incl. prefix "tar_") to filter values used on a specific tariff

Response

Property details with choices

Flattened retrieve response with global property fields at root and choices list.

id
string
required
key
string
required
name
string
required
Maximum length: 255
group_key
string
required
group_name
string
required
question
string
required
choices
object[]
required
data_type
  • BOOLEAN - Boolean
  • CHOICE - Choice
  • DECIMAL - Decimal
  • DATE - Date
  • TEXT - Text
Available options:
BOOLEAN,
CHOICE,
DECIMAL,
DATE,
TEXT
description
string